* Gambling in UK *

* This dofile contains calculations for Footnote 12:

* Access to the Millenium Cohort Study is restricted *
* See for more info: https://cls.ucl.ac.uk/data-access-training/data-access/
* You would have to merge MCS data from wave 6, age 14 Sweep *

* These are the variables we are interested in:
*FCGAMA00: fruit game
*FCGMBL00: private bet 
*FCGAEM00: bet in a betting shop
*FCGAMJ00: any other gambling activity

gen gambling=0
replace gambling=1 if FCGAMA00==1
replace gambling=1 if FCGMBL00==1
replace gambling=1 if FCGAEM00==1
replace gambling=1 if FCGAMJ00==1

* Remember to use stratfied design weignts:
svyset  SPTN00 [pweight=weig6], strata(PTTYPE2) fpc(NH2)

* Gambling at age 14:
svy, subpop(mcs6): tab gambling

